package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * 用户收藏信息表
 */
@Document(collection = "user_favorities_info")
public class UserFavoritiesInfo extends EntityBase {
    /**
     * 用户ID
     */
    private String userId;
    /**
     * 业务类型,0:兼职/实习,1:活动,2:商品,3:文章
     */
    private Integer bizType;
    /**
     * 业务ID
     */
    private String bizId;
    /**
     * 收藏时间
     */
    private Date favoritiesTime;
    /**
     * 取消收藏时间
     */
    private Date unFavoritiesTime;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getBizType() {
        return bizType;
    }

    public void setBizType(Integer bizType) {
        this.bizType = bizType;
    }

    public String getBizId() {
        return bizId;
    }

    public void setBizId(String bizId) {
        this.bizId = bizId;
    }

    public Date getFavoritiesTime() {
        return favoritiesTime;
    }

    public void setFavoritiesTime(Date favoritiesTime) {
        this.favoritiesTime = favoritiesTime;
    }

    public Date getUnFavoritiesTime() {
        return unFavoritiesTime;
    }

    public void setUnFavoritiesTime(Date unFavoritiesTime) {
        this.unFavoritiesTime = unFavoritiesTime;
    }
}
